/**
 * 
 */
package com.qdairlines.controller.edit;

import java.util.Date;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import net.sf.json.JSONObject;

import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import com.qdairlines.common.ControllerUtil;
import com.qdairlines.common.MD5Encoder;
import com.qdairlines.common.Page;
import com.qdairlines.constant.BaseConsts;
import com.qdairlines.constant.DictionaryConsts;
import com.qdairlines.constant.RequestConsts;
import com.qdairlines.entity.user.User;
import com.qdairlines.entity.user.UserRole;
import com.qdairlines.entity.user.UserRoleDto;
import com.qdairlines.service.dict.DictionaryService;
import com.qdairlines.service.user.RoleService;
import com.qdairlines.service.user.UserRoleService;
import com.qdairlines.service.user.UserService;

/**
 * @author libeina
 * @date 2017年9月6日
 * @company QingDao Airlines
 * @description 编辑页面
 */
@Controller
@RequestMapping("edit")
public class EditController {
		
	/**
	 * 进入页面
	 * @return
	 */
    @RequestMapping( value = "toPage1" ,produces =RequestConsts.PRODUCES)
    public String toPage (HttpServletRequest request,Model model) {
    	model.addAttribute(BaseConsts.LANGUAGE, ControllerUtil.getLanguage(request));
    	return "/edit/editPage1";
    }
    

    
   
}
